package com.ffggffgfv.backend.dto;

import com.ffggffgfv.backend.entity.Order;
import com.ffggffgfv.backend.entity.OrderItem;
import com.ffggffgfv.backend.entity.Shipping;

import java.util.List;

/**
 * 订单详情数据传输对象
 */
public class OrderDetailDTO {

    private Order order;                 // 订单信息
    private List<OrderItem> orderItems;  // 订单项列表
    private Shipping shipping;           // 物流信息

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<OrderItem> getOrderItems() {
        return orderItems;
    }

    public void setOrderItems(List<OrderItem> orderItems) {
        this.orderItems = orderItems;
    }

    public Shipping getShipping() {
        return shipping;
    }

    public void setShipping(Shipping shipping) {
        this.shipping = shipping;
    }
}
